package com.hk.model;

/**
 * @Author: KangWang
 * Date: 2021/5/18 17:17
 * State：在线留言
 */
public class OnlineMessage {

    private int messageId;
    private String messageTitle;//留言标题
    private String messageEmail;//留言邮箱
    private String messageContent;//留言内容

    public int getMessageId() {
        return messageId;
    }

    public void setMessageId(int messageId) {
        this.messageId = messageId;
    }

    public String getMessageTitle() {
        return messageTitle;
    }

    public void setMessageTitle(String messageTitle) {
        this.messageTitle = messageTitle;
    }

    public String getMessageEmail() {
        return messageEmail;
    }

    public void setMessageEmail(String messageEmail) {
        this.messageEmail = messageEmail;
    }

    public String getMessageContent() {
        return messageContent;
    }

    public void setMessageContent(String messageContent) {
        this.messageContent = messageContent;
    }

    public OnlineMessage(int messageId, String messageTitle, String messageEmail, String messageContent) {
        this.messageId = messageId;
        this.messageTitle = messageTitle;
        this.messageEmail = messageEmail;
        this.messageContent = messageContent;
    }

    public OnlineMessage() {

    }

    @Override
    public String toString() {
        return "OnlineMessage{" +
                "messageId=" + messageId +
                ", messageTitle='" + messageTitle + '\'' +
                ", messageEmail='" + messageEmail + '\'' +
                ", messageContent='" + messageContent + '\'' +
                '}';
    }
}
